// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_CASH_AMOUNT
// * CreateDate    : 2014-06-05 18:29:47
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:47
// * LastChanger   : 2014-06-05 18:29:47
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinCashAmountTable : TableInfo
    {
		public const string C_TableName = "FIN_CASH_AMOUNT";
		
		public const string C_CASH_AMOUNT_ID = "CASH_AMOUNT_ID";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_TOTAL_AMOUNT = "TOTAL_AMOUNT";
		
		public FinCashAmountTable()
        {
            _tableName = "FIN_CASH_AMOUNT";
        }
		
		protected static FinCashAmountTable _current;
        public static FinCashAmountTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinCashAmountTable();

            _current.Add(C_CASH_AMOUNT_ID, new ColumnInfo(C_CASH_AMOUNT_ID,"CashAmountId", true, typeof(string)));
            _current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY,"Currency", false, typeof(string)));
            _current.Add(C_TOTAL_AMOUNT, new ColumnInfo(C_TOTAL_AMOUNT,"TotalAmount", false, typeof(decimal)));
			
		}
		
		public ColumnInfo CASH_AMOUNT_ID
        {
            get { return this[C_CASH_AMOUNT_ID]; }
        }
		
		public ColumnInfo CURRENCY
        {
            get { return this[C_CURRENCY]; }
        }
		
		public ColumnInfo TOTAL_AMOUNT
        {
            get { return this[C_TOTAL_AMOUNT]; }
        }
		
		
		
	}
}

